package com.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
// 可以在这里扫描mapper接口
@MapperScan("com.demo.mybatis.mapper")
public class ApplicationMain {

	public static void main(String[] args) {

		SpringApplication.run(ApplicationMain.class, args);

	}
}
